<!doctype html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>后台网站配置</title>
		<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="description" content="">
		<meta name="author" content="">

		<link href='http://fonts.useso.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
		<link rel="stylesheet" type="text/css" href="{{URL::asset('lib/bootstrap/css/bootstrap.css')}}">
		<link rel="stylesheet" href="{{URL::asset('lib/font-awesome/css/font-awesome.css')}}">

		<script src="{{URL::asset('lib/jquery-1.11.1.min.js')}}" type="text/javascript"></script>

		<link rel="stylesheet" type="text/css" href="{{URL::asset('stylesheets/theme.css')}}">
		<link rel="stylesheet" type="text/css" href="{{URL::asset('stylesheets/premium.css')}}">

	</head>
	<body class=" theme-blue">
		<!-- Demo page code -->
		<script type="text/javascript">
			$(function() {
				var match = document.cookie.match(new RegExp('color=([^;]+)'));
				if(match) var color = match[1];
				if(color) {
					$('body').removeClass(function (index, css) {
						return (css.match (/\btheme-\S+/g) || []).join(' ')
					})
					$('body').addClass('theme-' + color);
				}

				$('[data-popover="true"]').popover({html: true});
				
			});
		</script>
		<style type="text/css">
			#line-chart {
				height:300px;
				width:800px;
				margin: 0px auto;
				margin-top: 1em;
			}
			.navbar-default .navbar-brand, .navbar-default .navbar-brand:hover { 
				color: #fff;
			}
		</style>

		<script type="text/javascript">
			$(function() {
				var uls = $('.sidebar-nav > ul > *').clone();
				uls.addClass('visible-xs');
				$('#main-menu').append(uls.clone());
			});
		</script>

		<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
		<!--[if lt IE 9]>
		  <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
		<![endif]-->

		<!-- Le fav and touch icons -->
		<link rel="shortcut icon" href="../assets/ico/favicon.ico">
		<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
		<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
		<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
		<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
	  

		<!--[if lt IE 7 ]> <body class="ie ie6"> <![endif]-->
		<!--[if IE 7 ]> <body class="ie ie7 "> <![endif]-->
		<!--[if IE 8 ]> <body class="ie ie8 "> <![endif]-->
		<!--[if IE 9 ]> <body class="ie ie9 "> <![endif]-->
		<!--[if (gt IE 9)|!(IE)]><!--> 
	   
		<!--<![endif]-->

		<div class="navbar navbar-default" role="navigation">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
					<span class="sr-only">Toggle navigation</span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<a class="" href="index.html">
					<span class="navbar-brand">
						<span class="fa fa-paper-plane"></span> Aircraft
					</span>
				</a>
			</div>

			<div class="navbar-collapse collapse" style="height: 1px;">
				<ul id="main-menu" class="nav navbar-nav navbar-right">
					<li class="dropdown hidden-xs">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown">
							<span class="glyphicon glyphicon-user padding-right-small" style="position:relative;top: 3px;"></span> 用户名
							<i class="fa fa-caret-down"></i>
						</a>
						<ul class="dropdown-menu">
							<li><a href="./">个人信息</a></li>
							<li class="divider"></li>
							<li class="dropdown-header">Admin Panel</li>
							<li><a href="./">Users</a></li>
							<li><a href="./">Security</a></li>
							<li><a tabindex="-1" href="./">Payments</a></li>
							<li class="divider"></li>
							<li><a tabindex="-1" href="sign-in.html">退出</a></li>
						</ul>
					</li>
				</ul>
			</div>
		</div>
		</div>

		<div class="sidebar-nav">
			<ul>
			<li>
				<a href="#" data-target=".dashboard-menu" class="nav-header" data-toggle="collapse">
					<i class="fa fa-fw fa-dashboard"></i> 普通用户管理<i class="fa fa-collapse"></i>
				</a>
			</li>
			<li>
				<ul class="dashboard-menu nav nav-list collapse in">
					<li><a href="#"><span class="fa fa-caret-right"></span>用户列表</a></li>
					<li ><a href="#"><span class="fa fa-caret-right"></span>商品图片</a></li>
					<li ><a href="#"><span class="fa fa-caret-right"></span>订单</a></li>
					<li ><a href="#"><span class="fa fa-caret-right"></span>商品评论</a></li>
					<li ><a href="#"><span class="fa fa-caret-right"></span>收藏</a></li>
				</ul>
			</li>
			<li data-popover="true" data-content="Items in this group require a <strong><a href='http://portnine.com/bootstrap-themes/aircraft' target='blank'>premium license</a><strong>." rel="popover" data-placement="right">
				<a href="#" data-target=".premium-menu" class="nav-header collapsed" data-toggle="collapse">
					<i class="fa fa-fw fa-fighter-jet"></i> 商品管理<i class="fa fa-collapse"></i>
				</a>
			</li>
			<li>
				<ul class="premium-menu nav nav-list collapse">
					<li ><a href="/goods/index"><span class="fa fa-caret-right"></span>商品列表</a></li>
					<li ><a href="/goods/category"><span class="fa fa-caret-right"></span>商品类别列表</a></li>
					<li ><a href="addCategory"><span class="fa fa-caret-right"></span> 类别添加</a></li>
					<li ><a href="/goods/parameters"><span class="fa fa-caret-right"></span>商品参数列表</a></li>
					<li ><a href="#"><span class="fa fa-caret-right"></span>商品库存列表</a></li>
					<li ><a href="#"><span class="fa fa-caret-right"></span>商品库存添加</a></li>
					<li ><a href="#"><span class="fa fa-caret-right"></span>商品评论列表</a></li>
					<li ><a href="#"><span class="fa fa-caret-right"></span>商品评论添加</a></li>
					<li ><a href="#"><span class="fa fa-caret-right"></span>商品图片列表</a></li>
					<li ><a href="#"><span class="fa fa-caret-right"></span>商品收藏列表</li>
				</ul>
			</li>
			<li>
				<a href="#" data-target=".accounts-menu" class="nav-header collapsed" data-toggle="collapse"><i class="fa fa-fw fa-briefcase"></i> 友情链接 <span class="label label-info">+3</span></a>
			</li>
			<li>
				<ul class="accounts-menu nav nav-list collapse">
					<li ><a href="/link/adminLink"><span class="fa fa-caret-right"></span>链接列表</a></li>
					<li ><a href="/link/addLink"><span class="fa fa-caret-right"></span>链接添加</a></li>
				</ul>
			</li>
			<li>
				<a href="#" data-target=".legal-menu" class="nav-header collapsed" data-toggle="collapse"><i class="fa fa-fw fa-legal"></i> 购物车<i class="fa fa-collapse"></i></a>
			</li>
			<li>
				<ul class="legal-menu nav nav-list collapse">
					<li ><a href="/shop/index"><span class="fa fa-caret-right">购物车</span></a></li>
				</ul>
			</li>
			
			<li>
				<a href="/config/adminConfig" class="nav-header">
					<i class="fa fa-fw fa-comment"></i>网站配置
				</a>
			</li>
			<li>
				<a href="/order/adminOrder" class="nav-header">
					<i class="fa fa-fw fa-question-circle"></i> 订单
				</a>
			</li>
		</div>
		
		<div class="content">
			<div class="header">
				<h1 class="page-title">网站配置</h1>
				<ul class="breadcrumb">
					<li><a href="#">网站配置列表</a> </li>
			
				</ul>
			</div>
			<div class="main-content" style="height:500px">
				<table class="table">
					<thead>
						<tr>
						  <th>标题</th>
						  <th>关键字</th>
						  <th>网站描述</th>
						  <th>网站状态</th>
						  <th>网站logo</th>
						  <th style="width: 6.0em;">操作</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>{{$config->title}}</td>
							<td>{{$config->keywords}}</td>
							<td>{{$config->description}}</td> 
							@if($config->status == 1)
								<TD>开</TD>
							@elseif($config->status == 0)
								<TD>关</TD>
							@else
								<TD></TD>
							@endif
							<td><img src="/{{$config->logo}}" width="30px;height:30px"></td>
							<td style="font-size:9px;">
								<a  href="/config/addConf" >添加</a>
								<a  href="/config/updateConf/{{$config->id}}" >修改</a>
							</td>
						</tr>
					</tbody>
				</table>
				<div class="modal small fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
					<div class="modal-dialog">
						<div class="modal-content">
							<div class="modal-header">
								<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
								<h3 id="myModalLabel">Delete Confirmation</h3>
							</div>
							<div class="modal-body">
								<p class="error-text"><i class="fa fa-warning modal-icon"></i>Are you sure you want to delete the user?<br>This cannot be undone.</p>
							</div>
							<div class="modal-footer">
								<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Cancel</button>
								<button class="btn btn-danger" data-dismiss="modal">Delete</button>
							</div>
						</div>
					</div>
				</div>
				<footer>
					<hr/>
					<p class="pull-right">Collect from 
						<a href="http://www.cssmoban.com/" title="网页模板" target="_blank">..</a>
					</p>
					<p>© 2016<a href="#" target="_blank">Portnine</a></p>
				</footer>
			</div>
		</div>
	
		<script src="{{URL::asset('lib/bootstrap/js/bootstrap.js')}}"></script>
		<script type="text/javascript">
			$("[rel=tooltip]").tooltip();
			$(function() {
				$('.demo-cancel-click').click(function(){return false;});
			});
		</script>
		
	</body>
</html>
